﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Framework.Message.SMS.CommonLibrary
{
    public abstract class BaseClientSetting
    {
        private uint _PingTick = 30;
        /// <summary>
        /// 心跳包间隔(秒)
        /// </summary>
        public uint PingTick
        {
            get { return _PingTick; }
            set { _PingTick = value; }
        }

        private uint _TimeoutTick = 50;
        /// <summary>
        /// 超时(秒)
        /// </summary>
        public uint TimeoutTick
        {
            get { return _TimeoutTick; }
            set { _TimeoutTick = value; }
        }

        public BaseClientSetting()
        {
        }

        public BaseClientSetting(uint pingTick, uint timeoutTick)
        {
            PingTick = pingTick;
            TimeoutTick = timeoutTick;
        }
    }
}
